The Basics


<HTML>
<HEAD>
<TITLE></TITLE>
</HEAD>
<BODY>




</BODY>
</HTML>

The Basics


How do you put a background on your page?

Glad you asked!


Here's the code:

<BODY BACKGROUND=" "> or you can use
<BODY BGCOLOR="# ">

With the <BODY BACKGROUND=" "> you can use any graphic for this. EG; .jpg, .gif .bmp, etc.
What you have to keep in mind is this; whatever graphic you use, if it does not cover the whole page, the browser will tile it.

With the <BODY BGCOLOR="# "> you can put a single color as your background. You have to use what is called a hex code. The short version of hex code. A two letter code for the color Red, a two letter code for the color Green, and finally, a two letter code for Blue. You can do one of several things here.
  1. You can get an HTML Editor like Arachnophilia that has a color pallet at the "Right Click of a Button".

  2. You can download a color picker.

  3. You can learn hex code.

Personally, I use Arachnophilia. I don't have to get out of my Editor to find colors. Short, Sweet, and Easy.

Something else to keep in mind; different browser settings will effect what is seen. When you use a graphic for a background, you have built your page so it looks good to you. What your visitors see may look like a small nuclear explosion.



Lesson 1 Lesson 2 Lesson 3 Lesson 4 Lesson 5 Lesson 7 Lesson 8